package com.zudada.servermain.POJO.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@Data
public class VesselBerthingPageQueryDTO {
    //页码
    @ApiModelProperty("页码")
    private int page;

    //每页显示的记录数

    @ApiModelProperty("每页条数")
    private int pageSize;

    // 可选查询条件（根据业务需求添加，如船舶名称、港口ID、停靠时间范围等）
    @ApiModelProperty("船舶名称")
    private String vesselName;
    @ApiModelProperty("港口ID")
    private String portId;

    @ApiModelProperty("靠泊开始时间")
    private Date berthTimeStart;
    @ApiModelProperty("靠泊结束时间")
    private Date berthTimeEnd;
    @ApiModelProperty("状态")
    private String status;
    @ApiModelProperty("靠泊记录ID")
    private String berthId;

    @ApiModelProperty("船舶ID")
    private String vesselId;
    @ApiModelProperty("船舶类型")
    private String vesselType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("靠泊时间")
    private Date berthTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("离港时间")
    private Date departureTime;
}
